package com.yidian.pojo.system;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author whb
 * @create 2021-06-08 17:21
 * @desciption 菜单实体类
 */
@Table(name = "tb_menu")
@Data
public class Menu implements Serializable {
    @Id
    private String id;//菜单ID

    private String name;//菜单名称

    private String icon;//图标

    private String url;//URL

    private String parentId;//上级菜单ID
}
